package com.service.impl;

import com.dao.RoleMenuMapper;
import com.entity.RoleMenu;
import com.service.RoleMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by jsb-160 on 2018/7/26.
 */
@Service("RoleMenu")
public class RoleMenuServiceImpl implements RoleMenuService {
    @Autowired
    RoleMenuMapper roleMenuMapper;
    @Override
    public Integer addRoleMenu(RoleMenu roleMenu) {
        return roleMenuMapper.insertSelective(roleMenu);
    }
}
